snapcraft npm doesn't respect npm-node-version
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
I have this code and it always tells me v10.19.0. That's bad because vue cli needs a more recent version:
```
You are using Node v10.19.0, but vue-cli-service requires Node ^12.0.0 || >= 14.0.0.
Please upgrade your Node version.
```
```
axolotl-web:
plugin: npm
source: ./axolotl-web
npm-node-version: 14.13.0
override-build: |
# Due to the confinement this runs as root, and then we need this config
nodejs --version
npm config set unsafe-perm true
npm ci
npm run build
mkdir -p ../install/bin
cp -r dist ../install/bin/axolotl-web
stage:
- bin/axolotl-web
```
Evaluation history
No evaluation history available.